package com.wooming.myserver.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * 测试页面路由控制器
 *
 * @author Wooming 2025/05/22
 */
@Controller
public class TestPageController {

    @GetMapping("/public/test/1")
    public String test1() {
        System.out.println("有人访问test1页面");
        return "Test1";
    }

    @GetMapping("/public/test/2")
    public String test2() {
        System.out.println("有人访问test2页面");
        return "Test2";
    }

    @GetMapping("/public/test/3")
    public String test3() {
        System.out.println("有人访问test3页面");
        return "Test3";
    }

    @GetMapping("/public/test/4")
    public String test4() {
        System.out.println("有人访问test4页面");
        return "Test4";
    }
}
